Description of Visualization:

This scatter plot visualizes the relationship between building age and square footage. Each point represents a building, with its position determined by the building's age (calculated from the year it was constructed) and its square footage. The goal is to understand if there is a relationship between a building's size and its age.

Design Choices:

X-axis (building_age): Represents the age of the building, calculated as the difference between the current year and the construction year. It’s numerical. Y-axis (Square Footage): Represents the size of the building. It is a quantitative value. Color (Agency Name): The data points are colored based on facility type to distinguish between different usage types. Tooltip: Tooltips are used to provide more information when hovering over points, displaying the building age, square footage, and agency name.

Data Transformations:

Created a new column called building_age by calculating the difference between the current year and the construction year (Year Constructed). Replaced missing values (NaN) in Year Constructed with the median value to ensure all buildings had a valid age. Replaced NaN values in Square Footage with the median value as well, ensuring consistent data for plotting.

Description of Visualization:

This horizontal bar chart displays the distribution of building types in the dataset. Each bar represents a specific facility type, and its length indicates the count of buildings for that category. This chart helps to understand the relative abundance of different types of buildings within the dataset.

Design Choices:

X-axis (count): Represents the number of buildings for each facility type. Y-axis (Usage Description): Represents the different facility types (e.g., the usage description of each building). Sorting: The bars are sorted by count in descending order, which makes it easier to identify the most and least common facility types. Color (Usage Description): The bars are color-coded by usage description, which helps distinguish between the different categories visually. Tooltip: Tooltips are used to provide more detailed information, including the usage description and the count of buildings, when hovering over the bars.

Data Transformations:

Aggregation: Grouped the data by Usage Description to get the count of each facility type. Replaced missing values in Usage Description with a placeholder ('Unknown') to ensure that every building had a valid category for the chart.